import { PageView, RouteView } from '@/layouts';

export default {
	path: '/dashboard',
	name: 'dashboard',
	redirect: '/dashboard/workplace',
	component: RouteView,
	meta: {
		title: '首页',
		hiddenBreadcrumb: true,
		icon: 'home',
		permission: ['home'],
	},
	hideChildrenInMenu: true,
	children: [
		{
			path: '/dashboard/workplace',
			name: 'Workplace',
			component: () => import('@/views/dashboard/Workplace'),
			meta: {
				permission: ['home'],
				hiddenBreadcrumb: true,
				title: '首页',
			},
			hideChildrenInMenu: true,
		}
	]
};
